
public class Student extends Person{
	private String hakbun;

	public Student(String name, String ssn, String hakbun) {
		super(name, ssn);
		
		this.hakbun = hakbun;
	}

	public String getHakbun() {
		return hakbun;
	}

	public void setHakbun(String hakbun) {
		this.hakbun = hakbun;
	}
	
	public String toString(){
		return super.toString() + String.format(" 학번 : %s", hakbun);
	}
}
